﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="AuditoriaRecibo.aspx.cs" Inherits="AuditoriaRecibo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContenedorCentral" Runat="Server">
   
<table>
<tr>
 <td align ="center" colspan= "4" >
  
        
         <div id="titulo">
           <p>
            <asp:Label ID="fac" runat="server" Text="Auditoria Recibo" ></asp:Label>
           </p>
      
   </div>
        
 </td>
</tr>
          
            <tr>
                <td style="width: 16%">
                   <asp:Label ID="nombre" runat="server" Text="funcionario:"></asp:Label>
                </td>
                <td style="width: 30%">
                   
                  <asp:TextBox ID="nombreTex" runat="server" Width="52%" MaxLength="20"></asp:TextBox>
                  <asp:ImageButton ID="buscar1" runat="server" ImageUrl="~/images/lupa.png" 
                        Height="22px" Width="25px" onclick="buscar1_Click" />
                    <asp:Label ID="asterisco" runat="server" Text="*"  ForeColor="red"></asp:Label>  
                </td>
                <td style="width: 16%">
                   
                </td>
                <td>
                </td>
               
                </tr>
                <tr>
                    <td align ="left" colspan="4">
                    <br />
                      <h2>
                        <asp:Label ID="tit1" runat="server" Text="Auditoria Recibo cc"></asp:Label>
                  <asp:ImageButton ID="buscar2" runat="server" ImageUrl="~/images/lupa.png" 
                        Height="22px" Width="25px" onclick="buscar2_Click" />
                      </h2>
                     <br />
                    </td>
                </tr>
                <tr>
                   <td align="center" colspan="4">
                       
                       <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                           AutoGenerateColumns="False" CellPadding="4" DataSourceID="SqlDataSource1" 
                           ForeColor="#333333" GridLines="None">
                           <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                           <Columns>
                               <asp:BoundField DataField="fecha" HeaderText="fecha" SortExpression="fecha" />
                               <asp:BoundField DataField="monto" HeaderText="monto" SortExpression="monto" />
                               <asp:BoundField DataField="estado" HeaderText="estado" 
                                   SortExpression="estado" />
                               <asp:BoundField DataField="accion" HeaderText="accion" 
                                   SortExpression="accion" />
                               <asp:BoundField DataField="cod_cliente" HeaderText="cod_cliente" 
                                   SortExpression="cod_cliente" />
                           </Columns>
                           <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                           <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                           <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                           <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                           <AlternatingRowStyle BackColor="White" />
                       </asp:GridView>
                       
                       <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                           ConnectionString="<%$ ConnectionStrings:cetSistemasConnectionString %>" 
                           SelectCommand="SELECT [fecha], [monto], [estado], [accion], [cod_cliente] FROM [auditoria_recibo_cc]">
                       </asp:SqlDataSource>
                       
                   <br />
                   
                   </td>
                </tr>
                 <tr>
                    <td align ="left" colspan="4">
                    <br />
                    <h2>
                        &nbsp;</h2>
                     <br />
                    </td>
                </tr>
                 <tr>
                   <td td align="center" colspan="4">
                   <br />
                   
                   </td>
                </tr>
                 <tr>
                    <td align ="left" colspan="4">
                    <br />
                    <h2>
                        &nbsp;</h2>
                     <br />
                    </td>
                </tr>
                 <tr>
                   <td td align="center" colspan="4">
                   <br />
                   
                   </td>
                </tr>
                 <tr>
                    <td align ="left" colspan="4">
                    <br />
                    <h2>
                        &nbsp;</h2>
                     <br />
                    </td>
                </tr>
                 <tr>
                   <td td align="center" colspan="4">
                   <br />
                   
                   </td>
                </tr>
                </table>
                
         <SCRIPT LANGUAGE="JavaScript">
          
        function popUpFuncionario() {
            window.open('Gridviews/funcionarioGrid.aspx', '', 'center=yes,resizable=yes,scrollbars=yes');
        }
     
       function retornarCod_funcionario(values) {
            var cliente = $get('<%=this.nombreTex.ClientID%>');
            cliente.value = values;
        }
        function alerta(valor) {
            window.alert(valor);
        }
         </SCRIPT>
</asp:Content>

